package com.wnxy.sdd.front.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wnxy.sdd.front.entity.Video;
import com.wnxy.sdd.front.mapper.VideoMapper;
import com.wnxy.sdd.front.service.IVideoService;
import com.wnxy.sdd.front.vo.VideoVo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 课程视频 服务实现类
 * </p>
 *
 * @author Jet
 * @since 2023-03-30
 */
@Service
public class VideoServiceImpl extends ServiceImpl<VideoMapper, Video> implements IVideoService {

    @Override
    public List<VideoVo> queryVideoByCourseId(String id) {
        return baseMapper.queryVideoByCourseId(id);
    }
}
